<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:wicket="http://wicket.sourceforge.net/">
      
      
<head>
    <wicket:head>
        <title>Editare Stocuri</title>
        <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
        <script src="//code.jquery.com/jquery-1.10.2.js"></script>
        <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
        <link rel="stylesheet" href="/resources/demos/style.css">
        <script>
            $(function() {
                $( "#slider-range-min" ).slider({
                    range: "min",
                    value: 1,
                    min: 1,
                    max: 300,
                    slide: function( event, ui ) {
                        <!-- $( "#amount" ).val( "L " + ui.value ); -->
                        $( "#prependedInput" ).val( ui.value );
                    }
                });
                <!-- $( "#amount" ).val( "L " + $( "#slider-range-min" ).slider( "value" ) ); -->
                $( "#prependedInput" ).val( $( "#slider-range-min" ).slider( "value" ) );
            });
        </script>
        
    </wicket:head>
</head>

<body>
    <wicket:extend>
        
        <div class="row-fluid sortable">
            <div class="box span12">
                <div class="box-header well" data-original-title>
                    <h2><i class="icon-edit"></i> Editare Stocuri</h2>
                    <div class="box-icon">
                        <a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
                        <a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
                        <a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
                    </div>
                </div>
                <div class="box-content">
                    <form class="form-horizontal" wicket:id="form">
                      <fieldset>
                        <legend>Editare Stoc</legend>

                        <div class="control-group">
                            <label class="control-label">Magazin</label>
                            <div class="controls">
                              <span class="input-xlarge uneditable-input"><span wicket:id="magazin">Dristor</span></span>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">Produs</label>
                            <div class="controls">
                              <span class="input-xlarge uneditable-input"><span wicket:id="produs">C300-ADD</span></span>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">Recipient</label>
                            <div class="controls">
                              <span class="input-xlarge uneditable-input"><span wicket:id="recipient">(2)C300-ADD</span></span>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="focusedInput">Stoc</label>
                            <div class="controls">
                                <div class="input-prepend">
									<span class="add-on"><span wicket:id="cantitateOld"></span> + </span><input id="prependedInput" type="text" wicket:id="cantitate">
								</div>
                                <!-- <input class="input-xlarge focused" id="focusedInput" type="text" value="" wicket:id="cantitate"> -->
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" >Adauga</label>
                            <div class="controls">
                                <div id="slider-range-min" style="width: 270px;"></div>
                            </div>
                        </div>

                        
                        <div class="form-actions">
                          <button type="submit" class="btn btn-primary" wicket:id="submit">Salveaza</button>
                          <button type="reset" class="btn" wicket:id="renuntare">Renuntare</button>
                        </div>
                      </fieldset>
                    </form>   

                </div>
            </div><!--/span-->

        </div><!--/row-->
        
        
        <script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
    </wicket:extend>
</body>
</html>